import service from '@/api'

export function getUsers(params) {
  return service({
    url:'/auth/users',
    method:'POST',
    data:params
  })
}

export function addUser(params) {
  return service({
    url:'/auth/addUser',
    method:'POST',
    data:params
  })
}

export function editUser(params) {
  return service({
    url:'/auth/editUser',
    method:'POST',
    data:params
  })
}

export function deleteUser(params) {
  return service({
    url:'/auth/deleteUser',
    method:'POST',
    data:params
  })
}

